package com.wz.translate.util;

public class StringUtil {
	
	public static String[] getWords(String sentence){
		return sentence.trim().split(" +");
	}
	
	public static String getHead(String s){
		return s.substring(0, 1);
	}
	
	public static String getTail(String s){
		return s.substring(1);
	}
}
